

        <g:set var="entityName" value="${message(code: 'classes.label', default: 'Classes')}" />
            <div class="list">
                <div id="removeClassesMessage"></div>
                <table>
                     <thead>
                        
                             

                            <g:sortableColumn property="name" title="${message(code: 'student.name.label', default: 'Name')}" />
                        
                            <g:sortableColumn property="sex" title="${message(code: 'student.sex.label', default: 'Sex')}" />

                            <th><g:message code="parent.label" /></th>

                            <g:sortableColumn property="birthday" title="${message(code: 'student.birthday.label', default: 'Birthday')}" />

                            <g:sortableColumn property="state" title="${message(code: 'teacher.state.label', default: 'state')}" />

                            <th>学习空间</th>

                            <th></th>

                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${classesStudentList}" status="i" var="studentInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                                     
                            <td><g:link controller="student" action="show" id="${studentInstance.id}" params="[classesID:studentInstance.classes.id]">${fieldValue(bean: studentInstance, field: "name")}</g:link></td>
                        
                            <td>${fieldValue(bean: studentInstance, field: "sex")}</td>

                            <td><g:link controller="parent" action="edit" id="${studentInstance.id}">${studentInstance?.parent?.name}</g:link></td>
                        
                            <td><g:formatDate date="${studentInstance.birthday}" /></td>
                        
                            <td><g:formatBoolean boolean="${!studentInstance.state}" /></td>

                            <td>${studentInstance.hasBlog?"已建立":"未建立"}</td>
 
                            <td class="operate">
                            <x:operate width="260">
                                <g:link controller="student" action="edit" id="${studentInstance.id}" params="[classesID:studentInstance.classes.id]"><g:message code="default.button.edit.label"/></g:link> | 
                                <g:link controller="studentEvaluate" action="list" id="${studentInstance.id}"><g:message code="default.button.evaluate.label"/></g:link> | 
                                <g:link controller="parent" action="edit" id="${studentInstance.id}"><g:message code="parent.label"/></g:link> | 
                                
                                <g:link controller="studentMgr" action="createblog" id="${studentInstance.id}"><g:message code="default.button.createblog.label"/></g:link>
                            </x:operate>
                            </td>
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div> 
            <div class="paginateButtons"></div>
            